package com.atguigu.dao;

import com.atguigu.pojo.DeployGoal;

import java.util.List;

public interface DeployGoalDao {
    //每个方法中都带有所操作类的名字,为了以后看到这个方法,就知道是干什么的
    public int addDeployGoal(DeployGoal deployGoal);
    public int deleteDeployGoalById(String id);
    public int updateDeployGoal(DeployGoal deployGoal);
    public DeployGoal queryDeployGoalById(String id);
    public List<DeployGoal> queryDeployGoals();
    public Integer queryForPageTotalCount();
    public List<DeployGoal> queryForPageItems(Integer begin, Integer pageSize);
}
